package com.ll.app.api.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RankingAuthenticationReqDTO {

    @NotNull(message = "id 不能为null")
    @ApiModelProperty(value = "排行ID", example = "1")
    private Long id;

    @NotNull(message = "teacherUid 不能为null")
    @ApiModelProperty(value = "老师的UID", example = "123")
    private Long teacherUid;

    @NotNull(message = "sort 不能为null")
    @ApiModelProperty(value = "分数（1～120）", example = "110")
    private Long sort;

    @ApiModelProperty(value = "租户ID", example = "1")
    private Long tenantId;
}
